#include<bits/stdc++.h>

using namespace std;
using ll = long long;
#define endl '\n'


int main() {
    //多项式空间O(n^2)
    for (int i = 0; i < 10; i++) {
        for (int j = 0; j <= i; j++) {
            cout << i << "," << j << " ";
        }
        cout << endl;
    }
    return 0;
}
